import Vue from 'vue'
import Router from 'vue-router'


import UserList from "../components/usermanagement/userList.vue";
import GoodsList from "../components/goodsmanagerment/goodsList.vue";
import OrdersList from "../components/ordersmanagerment/ordersList.vue";
import ShoppingCart from "../components/shopmanagerment/ShoppingCart.vue";



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/userList',
      name: 'userList',
      component: UserList
    },
    {
      path: '/goodsList',
      name: 'goodsList',
      component: GoodsList
    },
    {
      path: '/ordersList',
      name: 'ordersList',
      component: OrdersList
    },
    {
      path: '/shop',
      name: 'ShoppingCart',
      component: ShoppingCart
    }
  ]
})
